<template>
  <div class="top">
      <span>logo</span>
      <span>头像</span>
      <span>退出登录</span>
  </div>
</template>

<script>
export default {
    created() {
        console.log('top-重生在泉水');
    },
    destroyed() {
        console.log('top-快速回家');
    }
}
</script>

<style scoped>
    .top {
        width: 100%;
        height: 100px;
        background-color: pink;
    }
</style>